
<?php

include_once 'classes/News.php';

function getNewsTitles($arrayNews){
	$arrayTitles = array();
	$index = 0;
	foreach ($arrayNews as $news) {
		$title = $news->getTitle();
		$arrayTitles[$index] = $title;
		$index++;
	}
	
	return ($arrayTitles);

	
}
?>
